import {
	request
} from '../request'
export default {
	//成绩列表
	API_SCORE_INDEX_POST(params = {}) {
		return request({
			url: '/api/score/index',
			method: 'post',
			data: params
		})
	},
	// 获取成绩详情轮播图
	API_SCORE_BANNER_GET(params = {}) {
		return request({
			url: '/api/banner/score',
			method: 'get',
			params
		})
	},
	//赛事下所有项目
	API_EVENT_ITEMS_POST(params = {}) {
		return request({
			url: '/api/event/items',
			method: 'post',
			data: params
		})
	},
	//赛事下所有组别
	API_EVENT_GROUP_POST(params = {}) {
		return request({
			url: '/api/event/itemgroup',
			method: 'post',
			data: params
		})
	},
	// 获取成绩详情列表
	API_SCORE_DETAIL_POST(params = {}) {
		return request({
			url: '/api/score/detail',
			method: 'post',
			data: params
		})
	},
	// 成绩上屏
	API_SCORE_DISPLAY_POST(params = {}) {
		return request({
			url: '/api/score/display',
			method: 'post',
			data: params
		})
	},
	// 获取成绩上屏队列信息
	API_SCORE_DISPLAY_QUEUE_GET(params = {}) {
		return request({
			url: '/api/score/display/queue',
			method: 'get',
			params
		})
	},
	// 添加大屏展示
	API_SCORE_ADDCASTING_POST(params = {}) {
		return request({
			url: '/api/member/addcasting',
			method: 'post',
			data: params
		})
	},
}